<html>
<head>
</head>
<body bgcolor="#FFFFFF">
<p class="Decl"><strong>procedure</strong> DoPaint(ABuffer: <a href="../../../../GR32/Classes/TBitmap32/_Body.htm">TBitmap32</a>; AInvalidRects: <a href="../../../../GR32_Containers/Classes/TRectList/_Body.htm">TRectList</a>; ACanvas: TCanvas; APaintBox: <a href="../../../../GR32_Image/Classes/TCustomPaintBox32/_Body.htm">TCustomPaintBox32</a>);</p>
<h2>Description</h2>
<p class="Body">Draws the buffer specified by <strong>ABuffer</strong> (the back-end's surface) onto the canvas <strong>ACanvas</strong> owned by the <a href="../../../../GR32_Image/Classes/TCustomPaintBox32/_Body.htm">paintbox</a> <strong>APaintBox</strong>.</p>
<p class="Body"><strong>AInvalidRects</strong> specifies a list of rects that require repainting. If the list is empty this method draws the buffer <strong>ABuffer</strong> into the <a href="../../../../GR32_Image/Classes/TCustomPaintBox32/Methods/GetViewportRect.htm">ViewportRect</a> of the <a href="../../../../GR32_Image/Classes/TCustomPaintBox32/_Body.htm">paintbox</a> <strong>APaintBox</strong>.</p>
<p class="Body">&nbsp;</p>
<p id="hidden">[See also]:</p>
</body>
</html>
